home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Metafont / Help / MakeTeXPK < prev    next >
Text File  |  1997-02-19  |  3KB  |  60 lines

  1. MakeTeXPK reads a given text file, usually with a .make extension,
  2. and uses commands in the file to build one or more PK fonts.
  3.  
  4. You don't need to create .make files yourself.  When using OzTeX
  5. to view or print a DVI file, just tick the "Make missing PK fonts"
  6. box and, if a PK font is missing, OzTeX will pass a temporary file
  7. called OzTeX-to-OzMF.make to OzMF so that MakeTeXPK will create the
  8. required PK file.
  9.  
  10. If the "Make missing PK fonts" box is unchecked when OzTeX detects a
  11. missing PK font then it will append a suitable line to a file called
  12. missfont.make (specified in OzTeX's Default config).  You can then
  13. give this file to MakeTeXPK at a later date to build all PK files
  14. in one go; this is recommended if you have an old Mac because making
  15. PK files can be a slow process.
  16.  
  17. If you really want to create your own .make file to build some new
  18. PK fonts then each line must have the following format:
  19.  
  20.    MakeTeXPK name dpi bdpi mag mode
  21.  
  22. where `name' is the name of the font, such as `cmr10'; `dpi' is the
  23. resolution the font is needed at; `bdpi' is the base resolution;
  24. `mag' is a string passed to Metafont as the font magnification;
  25. and `mode' is the mode_def to use.
  26.  
  27. For each line in the file, MakeTeXPK runs Metafont to build a
  28. GF file, then runs GFtoPK to convert that GF file into a PK file.
  29. For example, given a file with the following lines:
  30.  
  31.    MakeTeXPK logo10 120 360 0.33333 stylewriter
  32.    MakeTeXPK logo10 329 300 magstep(0.5) laserwriter
  33.  
  34. MakeTeXPK would create two PK files: logo10.120pk and logo10.329pk.
  35. Note that MakeTeXPK will keep processing if errors occur.
  36. All error messages are appended to a MakeTeXPK.log file in the
  37. same folder as the .make file.
  38.  
  39. MakeTeXPK uses a number of configuration file parameters:
  40.  
  41. The pk_file parameter tells MakeTeXPK where to create PK files.
  42. The Default setting is ":PK-files:%f.%dpk".  This matches one of
  43. the templates in the pk_files list used by OzTeX.
  44.  
  45. The maketexpk_base parameter tells MakeTeXPK which base file to
  46. pass to Metafont.  The Default setting is "MakeTeXPK", so Metafont
  47. will use MakeTeXPK.base.  This base file has all the mode_defs for
  48. Mac printers, plus some other settings suitable for Mac screens
  49. (see MakeTeXPK.mf in :Metafont:Inputs:).
  50.  
  51. The delete_log, delete_tfm and delete_gf flags tell MakeTeXPK if
  52. it should automatically delete the .log, .tfm and .gf files after
  53. creating a PK file.  The PK file is normally the only one needed
  54. so the Default config sets all these flags to "true".
  55.  
  56. If the auto_quit flag is "true" then OzMF quits after all lines
  57. in a .make file have been successfully processed.  This might be
  58. useful if you don't have much free memory.  The Default config
  59. sets auto_quit to "false".
  60.